package com.example.pojo;

import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

@Data
public class Product {


        private Long id;
        private String name;
        private Integer price;
        @Version //表示乐观锁版本号字段
        private Integer version;


}
